package com.cheng.service.base;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.cheng.domain.base.FixedArea;

public interface FixedAreaService {

	void saveFixedArea(FixedArea model);

	void delFixedArea(String id);

	Page<FixedArea> searchFixedArea(Specification<FixedArea> specification,
			Pageable pageable);

	void associationCourierAndTaketime(FixedArea model, Integer courierId,
			Integer takeTimeId);

	List<FixedArea> getAllFixedArea();

	FixedArea getAssociationsCourier(String id);

}
